<html>
<body>
<script type="text/javascript" charset="utf-8" src="http://localhost:8000/socket.io/socket.io.js"></script>
<script>
var socket = io.connect('http://localhost:8000');
socket.on("connect",function(){
});
socket.on("message",function(data){
	var msg = JSON.parse(data);
	socket.send(JSON.stringify({type:2,data : {"ss":"bbbb"},rid:msg.rid}));
});
</script>
</body>
</html>